Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Managing View Hints Objects


Q3ViewHints_SetCamera

You can use the Q3ViewHints_SetCamera function to set the camera associated with a view hints object.

TQ3Status Q3ViewHints_SetCamera (
TQ3ViewHintsObject viewHints, 
TQ3CameraObject camera);
viewHints
A view hints object.
camera
A camera object.
DESCRIPTION
The Q3ViewHints_SetCamera function attaches the camera specified by the camera parameter to the view hints object specified by the viewHints parameter. The reference count of the specified camera is incremented. In addition, if some other camera was already attached to the specified view hints object, the reference count of that camera is decremented.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996